<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>matrix &mdash; vecmat v1.0 documentation</title>
    <link rel="stylesheet" href="../_static/default.css" type="text/css" />
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../',
        VERSION:     '1.0',
        COLLAPSE_MODINDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="../_static/jquery.js"></script>
    <script type="text/javascript" src="../_static/doctools.js"></script>
    <link rel="top" title="vecmat v1.0 documentation" href="../index.html" />
    <link rel="next" title="angle" href="angle.html" />
    <link rel="prev" title="Vecmat libraries" href="../index.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="../modindex.html" title="Global Module Index"
             accesskey="M">modules</a> |</li>
        <li class="right" >
          <a href="angle.html" title="angle"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="../index.html" title="Vecmat libraries"
             accesskey="P">previous</a> |</li>
        <li><a href="../index.html">vecmat v1.0 documentation</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="matrix">
<h1>matrix<a class="headerlink" href="#matrix" title="Permalink to this headline">¶</a></h1>
<div class="section" id="module-vecmat.matrix">
<h2>All available classes/functions<a class="headerlink" href="#module-vecmat.matrix" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="vecmat.matrix.Matrix">
<em class="property">class </em><tt class="descclassname">vecmat.matrix.</tt><tt class="descname">Matrix</tt><big>(</big><em>vec=</em><span class="optional">[</span><span class="optional">[</span>, <em>1</em>, <em>0</em>, <em>0</em>, <em>0</em><span class="optional">]</span><span class="optional">[</span>, <em>0</em>, <em>1</em>, <em>0</em>, <em>0</em><span class="optional">]</span><span class="optional">[</span>, <em>0</em>, <em>0</em>, <em>1</em>, <em>0</em><span class="optional">]</span><span class="optional">[</span>, <em>0</em>, <em>0</em>, <em>0</em>, <em>1</em><span class="optional">]</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#vecmat.matrix.Matrix" title="Permalink to this definition">¶</a></dt>
<dd><p>Matrix class</p>
<dl class="method">
<dt id="vecmat.matrix.Matrix.fromMaya">
<tt class="descname">fromMaya</tt><big>(</big><em>MMatrix</em><big>)</big><a class="headerlink" href="#vecmat.matrix.Matrix.fromMaya" title="Permalink to this definition">¶</a></dt>
<dd>convert a maya matrix to Matrix</dd></dl>

<dl class="method">
<dt id="vecmat.matrix.Matrix.getRotation">
<tt class="descname">getRotation</tt><big>(</big><big>)</big><a class="headerlink" href="#vecmat.matrix.Matrix.getRotation" title="Permalink to this definition">¶</a></dt>
<dd>extract the rotation from the matrix</dd></dl>

<dl class="method">
<dt id="vecmat.matrix.Matrix.getTranslation">
<tt class="descname">getTranslation</tt><big>(</big><big>)</big><a class="headerlink" href="#vecmat.matrix.Matrix.getTranslation" title="Permalink to this definition">¶</a></dt>
<dd>get translate part of matrix</dd></dl>

<dl class="method">
<dt id="vecmat.matrix.Matrix.inverse">
<tt class="descname">inverse</tt><big>(</big><big>)</big><a class="headerlink" href="#vecmat.matrix.Matrix.inverse" title="Permalink to this definition">¶</a></dt>
<dd>inverse matrix</dd></dl>

<dl class="method">
<dt id="vecmat.matrix.Matrix.mirror">
<tt class="descname">mirror</tt><big>(</big><em>axis=None</em>, <em>offset=</em><span class="optional">[</span>, <em>0.0</em>, <em>0.0</em>, <em>0.0</em>, <em>1.0</em><span class="optional">]</span><big>)</big><a class="headerlink" href="#vecmat.matrix.Matrix.mirror" title="Permalink to this definition">¶</a></dt>
<dd>Mirror matrix on an axis , and offset</dd></dl>

<dl class="method">
<dt id="vecmat.matrix.Matrix.toMaya">
<tt class="descname">toMaya</tt><big>(</big><big>)</big><a class="headerlink" href="#vecmat.matrix.Matrix.toMaya" title="Permalink to this definition">¶</a></dt>
<dd>convert Matrix to a valid maya matrix</dd></dl>

<dl class="method">
<dt id="vecmat.matrix.Matrix.transpose">
<tt class="descname">transpose</tt><big>(</big><big>)</big><a class="headerlink" href="#vecmat.matrix.Matrix.transpose" title="Permalink to this definition">¶</a></dt>
<dd>transpose matrix</dd></dl>

</dd></dl>

<dl class="exception">
<dt id="vecmat.matrix.MatrixError">
<em class="property">exception </em><tt class="descclassname">vecmat.matrix.</tt><tt class="descname">MatrixError</tt><big>(</big><em>value</em><big>)</big><a class="headerlink" href="#vecmat.matrix.MatrixError" title="Permalink to this definition">¶</a></dt>
<dd>exception handler for matrixes</dd></dl>

</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
            <h3><a href="../index.html">Table Of Contents</a></h3>
            <ul>
<li><a class="reference external" href="#">matrix</a><ul>
<li><a class="reference external" href="#module-vecmat.matrix">All available classes/functions</a></li>
</ul>
</li>
</ul>

            <h4>Previous topic</h4>
            <p class="topless"><a href="../index.html"
                                  title="previous chapter">Vecmat libraries</a></p>
            <h4>Next topic</h4>
            <p class="topless"><a href="angle.html"
                                  title="next chapter">angle</a></p>
            <h3>This Page</h3>
            <ul class="this-page-menu">
              <li><a href="../_sources/vecmat/ matrix.txt"
                     rel="nofollow">Show Source</a></li>
            </ul>
          <div id="searchbox" style="display: none">
            <h3>Quick search</h3>
              <form class="search" action="../search.html" method="get">
                <input type="text" name="q" size="18" />
                <input type="submit" value="Go" />
                <input type="hidden" name="check_keywords" value="yes" />
                <input type="hidden" name="area" value="default" />
              </form>
              <p class="searchtip" style="font-size: 90%">
              Enter search terms or a module, class or function name.
              </p>
          </div>
          <script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="../modindex.html" title="Global Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="angle.html" title="angle"
             >next</a> |</li>
        <li class="right" >
          <a href="../index.html" title="Vecmat libraries"
             >previous</a> |</li>
        <li><a href="../index.html">vecmat v1.0 documentation</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
      &copy; Copyright 2010, Lorenzo Angeli.
      Last updated on Jun 15, 2010.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.6.
    </div>
  </body>
</html>